package com.runa.monitor.platinterface.base.exception;

/**
 * @author zhuj
 */

public enum ExceptionEnum {

    UpdatePlcError(102, "更新PLC错误"),
    CloseLinkError(103, "关闭连接通道失败"),
    MakeConnectError(104, "创建连接错误");

    private int code;

    private String msg;

    ExceptionEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
